package com.tron.game;

import org.web3j.crypto.Credentials;
import org.web3j.protocol.Web3j;

import java.math.BigInteger;

public class LiraHelper {

    private static  Lira _Instance=null;
    public  static  Lira getInstance()
    {
        if(_Instance!=null)
        {
            return  _Instance;
        }

        return  null;
    }

    public  static Lira Init(String contractAddress, Web3j web3j, Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)
    {
        _Instance=Lira.load(contractAddress,web3j,credentials,gasPrice,gasLimit);
        return  _Instance;
    }
}
